﻿using System;
using System.Collections.Generic;
namespace ihongma.Model
{
	/// <summary>
	/// webcase:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class webcase
	{
		public webcase()
		{}
		#region Model
		private int _id;
		private string _name;
		private int? _category;
		private string _describe;
		private string _tags;
		private string _weburl;
		private string _color;
		private int? _state;
		private string _dianping;
		private string _img;
		private string _addtime;
		private int? _click;
		private int? _is_top=0;
        private List<web_photo> photolist;
       
        /// <summary>
        /// 图片列表
        /// </summary>
        public List<web_photo> Photolist
        {
            get { return photolist; }
            set { photolist = value; }
        } 
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? category
		{
			set{ _category=value;}
			get{return _category;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string describe
		{
			set{ _describe=value;}
			get{return _describe;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string tags
		{
			set{ _tags=value;}
			get{return _tags;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string weburl
		{
			set{ _weburl=value;}
			get{return _weburl;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string color
		{
			set{ _color=value;}
			get{return _color;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? state
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string dianping
		{
			set{ _dianping=value;}
			get{return _dianping;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string img
		{
			set{ _img=value;}
			get{return _img;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string addtime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? click
		{
			set{ _click=value;}
			get{return _click;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? is_top
		{
			set{ _is_top=value;}
			get{return _is_top;}
		}
		#endregion Model

	}
}

